public class Account {
    private double balance;
    public Account(double init_balance){
        this.balance = init_balance;
    }
    public double getBalandce(){
        return balance;
    }
    public void deposit(double amt){
        if (amt > 0){
            balance += amt;
        }
    }
    public void withdarw(double amt){
        if (amt > 0 && amt < balance){
            balance -= amt;
        }
    }
}
